package com.jeecms.wicool.entity.orders.base;

import java.math.BigDecimal;
import com.jeecms.wicool.entity.orders.Orders;
import com.jeecms.wicool.entity.product.Product;
import com.jeecms.wicool.entity.product.ProductSku;

/**
 * AbstractWeixinMaterial entity provides the base persistence definition of the
 * WeixinMaterial entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractOrderProductMapping implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Orders dingdan;
	private Product product;
	private Integer buyCount;
	private BigDecimal productPrice;
    private ProductSku productSku;


	// Constructors

	/** default constructor */
	public AbstractOrderProductMapping() {
	}


	public AbstractOrderProductMapping(Integer id, Orders order,
			Product product, Integer buyCount, BigDecimal productPrice) {
		super();
		this.id = id;
		this.dingdan = dingdan;
		this.product = product;
		this.buyCount = buyCount;
		this.productPrice = productPrice;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	


	public Orders getDingdan() {
		return dingdan;
	}


	public void setDingdan(Orders dingdan) {
		this.dingdan = dingdan;
	}


	public Product getProduct() {
		return product;
	}


	public void setProduct(Product product) {
		this.product = product;
	}


	public Integer getBuyCount() {
		return buyCount;
	}


	public void setBuyCount(Integer buyCount) {
		this.buyCount = buyCount;
	}


	public BigDecimal getProductPrice() {
		return productPrice;
	}


	public void setProductPrice(BigDecimal productPrice) {
		this.productPrice = productPrice;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}


    public ProductSku getProductSku() {
        return productSku;
    }

    public void setProductSku(ProductSku productSku) {
        this.productSku = productSku;
    }
}